import { defineStore } from 'pinia'

export const serverStore = defineStore('counter', () => {

  const ip = 'localhost'

  const server = 'http://' + ip + ':8080'

  const ws = 'ws://' + ip + ':8080/wall'

  const serverUploadImg = server + "/common/upload"

  return { 
    server,
    ws,
    serverUploadImg
   }
})
